package com.wisezone.java1902.d12_conections;

public class Test1 {

	public static void main(String[] args) {
		String[] s1 = new String[5];
		s1[0] = "1";
		s1[1] = "2";
		s1[2] = "3";
		s1[3] = "4";

		String[] s2 = new String[10];
		for (int i = 0; i < s1.length; i++) {
			if (s1[i] == null) {
				continue;
			}
			s2[i] = s1[i];
		}

		for (int i = 0; i < s1.length; i++) {
			System.out.print(s1[i] + "  ");
		}
		System.out.println();

		for (int i = 0; i < s2.length; i++) {
			System.out.print(s2[i] + "  ");
		}

	}

}
